--TEST--
Check if wiringpi_php is loaded
--SKIPIF--
<?php
if (!function_exists('gpio_bcm_pin_ctrl')) {
	echo 'skip';
}
?>
--FILE--
<?php
$pin = 15;
$ret = gpio_bcm_pin_ctrl($pin, GPIO_MODE_SET, GPIO_PUD_OFF);
echo $ret;
sleep(1);
$ret = gpio_bcm_pin_ctrl($pin, GPIO_MODE_CLR, GPIO_PUD_OFF);
echo $ret;
?>
--EXPECT--
00
